<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: CClientConnection Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-slots">Private Slots</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CClientConnection Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CClientConnection" -->
<p>this is the actual model for the stegit-2 control  
 <a href="classCClientConnection.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="client__connection_8h_source.html">client_connection.h</a>&gt;</code></p>

<p><a href="classCClientConnection-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a482f2eca53b447dfe1bc387bd4a0f332">EProtocolState</a> { <a class="el" href="classCClientConnection.html#a482f2eca53b447dfe1bc387bd4a0f332a3a18cbdee56e80890713f8d142a65fdb">PROTOCOL_NONE</a> =  0, 
<a class="el" href="classCClientConnection.html#a482f2eca53b447dfe1bc387bd4a0f332a8c5e6c59e81ea43e4a1763b795f7d8ed">PROTOCOL_LENGTH</a>, 
<a class="el" href="classCClientConnection.html#a482f2eca53b447dfe1bc387bd4a0f332ac48cb65595b8f70c4eda7e5f3ac5df45">PROTOCOL_PAYLOAD</a>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a45b5bf6a85ffd288d4866d4348167b78">EClientState</a> { <a class="el" href="classCClientConnection.html#a45b5bf6a85ffd288d4866d4348167b78af92ab3eb33534e2f1b50343605d4e75b">CLIENT_DISCONNECTED</a> =  0, 
<a class="el" href="classCClientConnection.html#a45b5bf6a85ffd288d4866d4348167b78a0386c32314ef7c4bc4876175e0efd43b">CLIENT_CONNECTED</a>, 
<a class="el" href="classCClientConnection.html#a45b5bf6a85ffd288d4866d4348167b78a4b58abd4d1f3db7303856d71094c5cde">CLIENT_STARTED</a>
 }</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ab99fd2939e370e5b45b4a00365818dae">clientConnected</a> (QString, quint16)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a74fcb9f9186bd21fcac7c81807b95cc8">clientDisconnected</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ab5b8bc5fa1ed9d8f43e1e366e6d4a584">connectionError</a> (QString)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a678e3c8acaeb661865c947b7029d2b9f">infoReceived</a> (<a class="el" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3c">ELogLevel</a>, QString)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#aec24c56f2a551f9d4ddb79189bb7470f">configReceived</a> (const QString &amp;, const QString &amp;, const QString &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ab3a560af1a5321b97f990c54bb0797db">configReceivedEnd</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a1b2b73980f0a4f00f7862560166686c1">closeReceived</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a5bbfc7ec9217f4abff5c9afcd7c1e416">extractBufferInfoReceived</a> (quint32, quint32)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#abdfa1beb5fe5796629ff9cbf694505b4">frameSendLengthReceived</a> (quint32)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ac494558db8ee85e9d91c0d84f01cc3a1">frameRecvLengthReceived</a> (quint32, bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a9cece8ba8cc433b059843a470abbe9eb">packetSendLengthReceived</a> (quint32)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a9df683f2f84244a8f299abf3b23b952c">packetRecvLengthReceived</a> (quint32, bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ab6a3e8cf01d7e6f833897a84d4a462c7">streamSendInfoReceived</a> (int, int, quint32, bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a5fd8c1c8477d23d3117f5f55fbeb97b1">streamSendDataReceived</a> (void *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#acc2bd5394ae4c4f920d3f3fd6093ec75">streamRecvInfoReceived</a> (int, int, quint32, bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ac93a8be0d516cfc291878598f7f0d5aa">streamRecvDataReceived</a> (void *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#afd0ef0964cfc6cddcd0ab689833c6a51">protocolWriteDataReceived</a> (void *, int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a7ca8167f2837805fde1601dba7fae687">protocolReadFeedbackReceived</a> (quint32, quint32)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a1d67428d3556e8d707b7fe3e6bf6d4a3">embedAmpReceived</a> (quint8)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a206c0dd86e4c95ad2630719de388d974">extractAmpReceived</a> (quint8)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ae1f8407577c259b7645f7b7be7666907">CClientConnection</a> (QString &amp;pHost, quint16 &amp;pPort)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#adbc581da66d040c6ce2cdb60efb6cba7">~CClientConnection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a1db9481fe830faa8ae3f152c87d35f82">requestStart</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ad8c1a99b0c93ac68096000f24c4ec7e5">requestConfig</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a9111bb43ec69bb3cc9e9940a9ca19e23">sendConfigSection</a> (const QString &amp;pSection)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a24dd9f780d9d50b5124c4db497ad003a">sendConfigKey</a> (const QString &amp;pSection, const QString &amp;pKey, const QString &amp;pValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a81d5a54c692875a17bd2610cae14f2bd">sendConfigStart</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a4412f223f27cd74c0c9de065ae2e57f0">sendConfigEnd</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pri-slots"></a>
Private Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a664a369ed15e95d64c740aca35f00ff7">connected</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a2b9d44fbbc670a9be206684f34790506">disconnected</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#aee4f4ff6429a4a0b56a024e64e0a392e">error</a> (QAbstractSocket::SocketError pSocketError)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#accb67aae86e190cca088f789f5e71624">readyRead</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a357ad69ae806282b5628ff42650e18a3">sendDefenseValue</a> (quint32 pValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a13fc2d23578a02d92daf16699a6fb185">protocolReadDataSend</a> (const void *pData, int pLength)</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ace4ec09fd2b3f2dda7dcdf03da854b7e">CClientConnection</a> (const <a class="el" href="classCClientConnection.html">CClientConnection</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCClientConnection.html">CClientConnection</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a4e0faae96525a7a169b095bc9e44c071">operator=</a> (const <a class="el" href="classCClientConnection.html">CClientConnection</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a8bf90a8af8d58bcfa2dc2968f08bb0e2">receivedCommand</a> (char *pData, unsigned int pLen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">qint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a483b85a0eb6e876dee66e192f7b522f2">sendCommand</a> (quint8 *pData, quint32 pLen)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create and send a command over the socket to the UI.  <a href="#a483b85a0eb6e876dee66e192f7b522f2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a208808ec0971313cc49e14640db41915">printData</a> (unsigned int pOffset, quint8 *pData, unsigned int pLen)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#ad947548602941f510d07653ef04ded22">toHex</a> (quint8 pValue)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#aa613db46b7b58fb697e2b6c095ee1e71">mHost</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">quint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a5cc180ce8875b45ff4f1812b645abd52">mPort</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCClientConnection.html#a482f2eca53b447dfe1bc387bd4a0f332">EProtocolState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a85938f16682bb7c90e9dd97b8b784ed9">mProtocolState</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCClientConnection.html#a45b5bf6a85ffd288d4866d4348167b78">EClientState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a8ec8b4b057723768464518ab9955e205">mClientState</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#af7491eddd23fa68c7c9cef862ae9da44">mNumBytesToRead</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QTcpSocket&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#afc24c27b2e4b0bd64bd485c8f1a5df61">mTcpSocket</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#aa303d1aa0d31ab325221baae9a4991f2">mSync</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMutex&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a43aa1eed343efd7a0fa97f8e05edbfb4">mCommandSendSync</a></td></tr>
<tr><td colspan="2"><h2><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const quint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCClientConnection.html#a3c3e7cf59d9680199efda83a58d4a359">sMaxNetStringLen</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>this is the actual model for the stegit-2 control </p>
<dl class="author"><dt><b>Author:</b></dt><dd>rpoisel </dd></dl>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a45b5bf6a85ffd288d4866d4348167b78"></a><!-- doxytag: member="CClientConnection::EClientState" ref="a45b5bf6a85ffd288d4866d4348167b78" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classCClientConnection.html#a45b5bf6a85ffd288d4866d4348167b78">CClientConnection::EClientState</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a45b5bf6a85ffd288d4866d4348167b78af92ab3eb33534e2f1b50343605d4e75b"></a><!-- doxytag: member="CLIENT_DISCONNECTED" ref="a45b5bf6a85ffd288d4866d4348167b78af92ab3eb33534e2f1b50343605d4e75b" args="" -->CLIENT_DISCONNECTED</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a45b5bf6a85ffd288d4866d4348167b78a0386c32314ef7c4bc4876175e0efd43b"></a><!-- doxytag: member="CLIENT_CONNECTED" ref="a45b5bf6a85ffd288d4866d4348167b78a0386c32314ef7c4bc4876175e0efd43b" args="" -->CLIENT_CONNECTED</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a45b5bf6a85ffd288d4866d4348167b78a4b58abd4d1f3db7303856d71094c5cde"></a><!-- doxytag: member="CLIENT_STARTED" ref="a45b5bf6a85ffd288d4866d4348167b78a4b58abd4d1f3db7303856d71094c5cde" args="" -->CLIENT_STARTED</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="a482f2eca53b447dfe1bc387bd4a0f332"></a><!-- doxytag: member="CClientConnection::EProtocolState" ref="a482f2eca53b447dfe1bc387bd4a0f332" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classCClientConnection.html#a482f2eca53b447dfe1bc387bd4a0f332">CClientConnection::EProtocolState</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a482f2eca53b447dfe1bc387bd4a0f332a3a18cbdee56e80890713f8d142a65fdb"></a><!-- doxytag: member="PROTOCOL_NONE" ref="a482f2eca53b447dfe1bc387bd4a0f332a3a18cbdee56e80890713f8d142a65fdb" args="" -->PROTOCOL_NONE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a482f2eca53b447dfe1bc387bd4a0f332a8c5e6c59e81ea43e4a1763b795f7d8ed"></a><!-- doxytag: member="PROTOCOL_LENGTH" ref="a482f2eca53b447dfe1bc387bd4a0f332a8c5e6c59e81ea43e4a1763b795f7d8ed" args="" -->PROTOCOL_LENGTH</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a482f2eca53b447dfe1bc387bd4a0f332ac48cb65595b8f70c4eda7e5f3ac5df45"></a><!-- doxytag: member="PROTOCOL_PAYLOAD" ref="a482f2eca53b447dfe1bc387bd4a0f332ac48cb65595b8f70c4eda7e5f3ac5df45" args="" -->PROTOCOL_PAYLOAD</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae1f8407577c259b7645f7b7be7666907"></a><!-- doxytag: member="CClientConnection::CClientConnection" ref="ae1f8407577c259b7645f7b7be7666907" args="(QString &amp;pHost, quint16 &amp;pPort)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CClientConnection::CClientConnection </td>
          <td>(</td>
          <td class="paramtype">QString &amp;&#160;</td>
          <td class="paramname"><em>pHost</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">quint16 &amp;&#160;</td>
          <td class="paramname"><em>pPort</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adbc581da66d040c6ce2cdb60efb6cba7"></a><!-- doxytag: member="CClientConnection::~CClientConnection" ref="adbc581da66d040c6ce2cdb60efb6cba7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual CClientConnection::~CClientConnection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ace4ec09fd2b3f2dda7dcdf03da854b7e"></a><!-- doxytag: member="CClientConnection::CClientConnection" ref="ace4ec09fd2b3f2dda7dcdf03da854b7e" args="(const CClientConnection &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CClientConnection::CClientConnection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCClientConnection.html">CClientConnection</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab99fd2939e370e5b45b4a00365818dae"></a><!-- doxytag: member="CClientConnection::clientConnected" ref="ab99fd2939e370e5b45b4a00365818dae" args="(QString, quint16)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::clientConnected </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">quint16&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a74fcb9f9186bd21fcac7c81807b95cc8"></a><!-- doxytag: member="CClientConnection::clientDisconnected" ref="a74fcb9f9186bd21fcac7c81807b95cc8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::clientDisconnected </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1b2b73980f0a4f00f7862560166686c1"></a><!-- doxytag: member="CClientConnection::closeReceived" ref="a1b2b73980f0a4f00f7862560166686c1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::closeReceived </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aec24c56f2a551f9d4ddb79189bb7470f"></a><!-- doxytag: member="CClientConnection::configReceived" ref="aec24c56f2a551f9d4ddb79189bb7470f" args="(const QString &amp;, const QString &amp;, const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::configReceived </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab3a560af1a5321b97f990c54bb0797db"></a><!-- doxytag: member="CClientConnection::configReceivedEnd" ref="ab3a560af1a5321b97f990c54bb0797db" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::configReceivedEnd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a664a369ed15e95d64c740aca35f00ff7"></a><!-- doxytag: member="CClientConnection::connected" ref="a664a369ed15e95d64c740aca35f00ff7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::connected </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab5b8bc5fa1ed9d8f43e1e366e6d4a584"></a><!-- doxytag: member="CClientConnection::connectionError" ref="ab5b8bc5fa1ed9d8f43e1e366e6d4a584" args="(QString)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::connectionError </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2b9d44fbbc670a9be206684f34790506"></a><!-- doxytag: member="CClientConnection::disconnected" ref="a2b9d44fbbc670a9be206684f34790506" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::disconnected </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1d67428d3556e8d707b7fe3e6bf6d4a3"></a><!-- doxytag: member="CClientConnection::embedAmpReceived" ref="a1d67428d3556e8d707b7fe3e6bf6d4a3" args="(quint8)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::embedAmpReceived </td>
          <td>(</td>
          <td class="paramtype">quint8&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aee4f4ff6429a4a0b56a024e64e0a392e"></a><!-- doxytag: member="CClientConnection::error" ref="aee4f4ff6429a4a0b56a024e64e0a392e" args="(QAbstractSocket::SocketError pSocketError)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::error </td>
          <td>(</td>
          <td class="paramtype">QAbstractSocket::SocketError&#160;</td>
          <td class="paramname"><em>pSocketError</em></td><td>)</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a206c0dd86e4c95ad2630719de388d974"></a><!-- doxytag: member="CClientConnection::extractAmpReceived" ref="a206c0dd86e4c95ad2630719de388d974" args="(quint8)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::extractAmpReceived </td>
          <td>(</td>
          <td class="paramtype">quint8&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5bbfc7ec9217f4abff5c9afcd7c1e416"></a><!-- doxytag: member="CClientConnection::extractBufferInfoReceived" ref="a5bbfc7ec9217f4abff5c9afcd7c1e416" args="(quint32, quint32)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::extractBufferInfoReceived </td>
          <td>(</td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac494558db8ee85e9d91c0d84f01cc3a1"></a><!-- doxytag: member="CClientConnection::frameRecvLengthReceived" ref="ac494558db8ee85e9d91c0d84f01cc3a1" args="(quint32, bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::frameRecvLengthReceived </td>
          <td>(</td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abdfa1beb5fe5796629ff9cbf694505b4"></a><!-- doxytag: member="CClientConnection::frameSendLengthReceived" ref="abdfa1beb5fe5796629ff9cbf694505b4" args="(quint32)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::frameSendLengthReceived </td>
          <td>(</td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a678e3c8acaeb661865c947b7029d2b9f"></a><!-- doxytag: member="CClientConnection::infoReceived" ref="a678e3c8acaeb661865c947b7029d2b9f" args="(ELogLevel, QString)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::infoReceived </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3c">ELogLevel</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4e0faae96525a7a169b095bc9e44c071"></a><!-- doxytag: member="CClientConnection::operator=" ref="a4e0faae96525a7a169b095bc9e44c071" args="(const CClientConnection &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCClientConnection.html">CClientConnection</a>&amp; CClientConnection::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCClientConnection.html">CClientConnection</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9df683f2f84244a8f299abf3b23b952c"></a><!-- doxytag: member="CClientConnection::packetRecvLengthReceived" ref="a9df683f2f84244a8f299abf3b23b952c" args="(quint32, bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::packetRecvLengthReceived </td>
          <td>(</td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9cece8ba8cc433b059843a470abbe9eb"></a><!-- doxytag: member="CClientConnection::packetSendLengthReceived" ref="a9cece8ba8cc433b059843a470abbe9eb" args="(quint32)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::packetSendLengthReceived </td>
          <td>(</td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a208808ec0971313cc49e14640db41915"></a><!-- doxytag: member="CClientConnection::printData" ref="a208808ec0971313cc49e14640db41915" args="(unsigned int pOffset, quint8 *pData, unsigned int pLen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::printData </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">quint8 *&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a13fc2d23578a02d92daf16699a6fb185"></a><!-- doxytag: member="CClientConnection::protocolReadDataSend" ref="a13fc2d23578a02d92daf16699a6fb185" args="(const void *pData, int pLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::protocolReadDataSend </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pLength</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7ca8167f2837805fde1601dba7fae687"></a><!-- doxytag: member="CClientConnection::protocolReadFeedbackReceived" ref="a7ca8167f2837805fde1601dba7fae687" args="(quint32, quint32)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::protocolReadFeedbackReceived </td>
          <td>(</td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afd0ef0964cfc6cddcd0ab689833c6a51"></a><!-- doxytag: member="CClientConnection::protocolWriteDataReceived" ref="afd0ef0964cfc6cddcd0ab689833c6a51" args="(void *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::protocolWriteDataReceived </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="accb67aae86e190cca088f789f5e71624"></a><!-- doxytag: member="CClientConnection::readyRead" ref="accb67aae86e190cca088f789f5e71624" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::readyRead </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8bf90a8af8d58bcfa2dc2968f08bb0e2"></a><!-- doxytag: member="CClientConnection::receivedCommand" ref="a8bf90a8af8d58bcfa2dc2968f08bb0e2" args="(char *pData, unsigned int pLen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CClientConnection::receivedCommand </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>pLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This methode will be called from <a class="el" href="classCClientConnection.html#accb67aae86e190cca088f789f5e71624">readyRead()</a> after a new received command. pData[0] includes the command. --&gt; pLen always at least 1.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>pData buffer has the length pLen + 1. The extra byte is added by <a class="el" href="classCClientConnection.html#accb67aae86e190cca088f789f5e71624">readyRead()</a> and '\0' terminated.</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>False for received COMMAND_CLOSE_CONNECTION otherwise true. </dd></dl>

</div>
</div>
<a class="anchor" id="ad8c1a99b0c93ac68096000f24c4ec7e5"></a><!-- doxytag: member="CClientConnection::requestConfig" ref="ad8c1a99b0c93ac68096000f24c4ec7e5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CClientConnection::requestConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1db9481fe830faa8ae3f152c87d35f82"></a><!-- doxytag: member="CClientConnection::requestStart" ref="a1db9481fe830faa8ae3f152c87d35f82" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CClientConnection::requestStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a483b85a0eb6e876dee66e192f7b522f2"></a><!-- doxytag: member="CClientConnection::sendCommand" ref="a483b85a0eb6e876dee66e192f7b522f2" args="(quint8 *pData, quint32 pLen)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qint64 CClientConnection::sendCommand </td>
          <td>(</td>
          <td class="paramtype">quint8 *&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname"><em>pLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create and send a command over the socket to the UI. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>This methode use the mutex mCommandSendSync for sync!!! </dd>
<dd>
This methode create the 4 byte length field. The value of this field is pLen (which already includes the command).</dd>
<dd>
A command need not use this methode to create the command header and its payload but then it must use the mutex mCommandSendSync.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pData</td><td>Buffer which should be send. pData[0] must be the command and after that the optional payload follow. </td></tr>
    <tr><td class="paramname">pLen</td><td>length of full command (command byte + the payload) pLen must be &gt;= 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Value of pLen for successful transmission, otherwise a value which is unequal pLen. </dd></dl>

</div>
</div>
<a class="anchor" id="a4412f223f27cd74c0c9de065ae2e57f0"></a><!-- doxytag: member="CClientConnection::sendConfigEnd" ref="a4412f223f27cd74c0c9de065ae2e57f0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CClientConnection::sendConfigEnd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a24dd9f780d9d50b5124c4db497ad003a"></a><!-- doxytag: member="CClientConnection::sendConfigKey" ref="a24dd9f780d9d50b5124c4db497ad003a" args="(const QString &amp;pSection, const QString &amp;pKey, const QString &amp;pValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CClientConnection::sendConfigKey </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>pSection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>pKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>pValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9111bb43ec69bb3cc9e9940a9ca19e23"></a><!-- doxytag: member="CClientConnection::sendConfigSection" ref="a9111bb43ec69bb3cc9e9940a9ca19e23" args="(const QString &amp;pSection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CClientConnection::sendConfigSection </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>pSection</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a81d5a54c692875a17bd2610cae14f2bd"></a><!-- doxytag: member="CClientConnection::sendConfigStart" ref="a81d5a54c692875a17bd2610cae14f2bd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CClientConnection::sendConfigStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a357ad69ae806282b5628ff42650e18a3"></a><!-- doxytag: member="CClientConnection::sendDefenseValue" ref="a357ad69ae806282b5628ff42650e18a3" args="(quint32 pValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CClientConnection::sendDefenseValue </td>
          <td>(</td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname"><em>pValue</em></td><td>)</td>
          <td><code> [private, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac93a8be0d516cfc291878598f7f0d5aa"></a><!-- doxytag: member="CClientConnection::streamRecvDataReceived" ref="ac93a8be0d516cfc291878598f7f0d5aa" args="(void *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::streamRecvDataReceived </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acc2bd5394ae4c4f920d3f3fd6093ec75"></a><!-- doxytag: member="CClientConnection::streamRecvInfoReceived" ref="acc2bd5394ae4c4f920d3f3fd6093ec75" args="(int, int, quint32, bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::streamRecvInfoReceived </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5fd8c1c8477d23d3117f5f55fbeb97b1"></a><!-- doxytag: member="CClientConnection::streamSendDataReceived" ref="a5fd8c1c8477d23d3117f5f55fbeb97b1" args="(void *, int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::streamSendDataReceived </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab6a3e8cf01d7e6f833897a84d4a462c7"></a><!-- doxytag: member="CClientConnection::streamSendInfoReceived" ref="ab6a3e8cf01d7e6f833897a84d4a462c7" args="(int, int, quint32, bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CClientConnection::streamSendInfoReceived </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad947548602941f510d07653ef04ded22"></a><!-- doxytag: member="CClientConnection::toHex" ref="ad947548602941f510d07653ef04ded22" args="(quint8 pValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CClientConnection::toHex </td>
          <td>(</td>
          <td class="paramtype">quint8&#160;</td>
          <td class="paramname"><em>pValue</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a8ec8b4b057723768464518ab9955e205"></a><!-- doxytag: member="CClientConnection::mClientState" ref="a8ec8b4b057723768464518ab9955e205" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCClientConnection.html#a45b5bf6a85ffd288d4866d4348167b78">EClientState</a> <a class="el" href="classCClientConnection.html#a8ec8b4b057723768464518ab9955e205">CClientConnection::mClientState</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a43aa1eed343efd7a0fa97f8e05edbfb4"></a><!-- doxytag: member="CClientConnection::mCommandSendSync" ref="a43aa1eed343efd7a0fa97f8e05edbfb4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMutex <a class="el" href="classCClientConnection.html#a43aa1eed343efd7a0fa97f8e05edbfb4">CClientConnection::mCommandSendSync</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A UI command MUST use this mutex to guarantee the sending as one data block. Otherwise a command can be currupted (interlaced with a other command).</p>
<p>The mutex must be locked before sending the first byte (this also includes the length-field for the command) and must be unlocked after sending the last byte.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>The methode sendCommand use this mutex. Therefore if the whole command is send by sendCommand then the mutex is used and sync is ok. </dd></dl>

</div>
</div>
<a class="anchor" id="aa613db46b7b58fb697e2b6c095ee1e71"></a><!-- doxytag: member="CClientConnection::mHost" ref="aa613db46b7b58fb697e2b6c095ee1e71" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="classCClientConnection.html#aa613db46b7b58fb697e2b6c095ee1e71">CClientConnection::mHost</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af7491eddd23fa68c7c9cef862ae9da44"></a><!-- doxytag: member="CClientConnection::mNumBytesToRead" ref="af7491eddd23fa68c7c9cef862ae9da44" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">quint32 <a class="el" href="classCClientConnection.html#af7491eddd23fa68c7c9cef862ae9da44">CClientConnection::mNumBytesToRead</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5cc180ce8875b45ff4f1812b645abd52"></a><!-- doxytag: member="CClientConnection::mPort" ref="a5cc180ce8875b45ff4f1812b645abd52" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">quint16 <a class="el" href="classCClientConnection.html#a5cc180ce8875b45ff4f1812b645abd52">CClientConnection::mPort</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a85938f16682bb7c90e9dd97b8b784ed9"></a><!-- doxytag: member="CClientConnection::mProtocolState" ref="a85938f16682bb7c90e9dd97b8b784ed9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCClientConnection.html#a482f2eca53b447dfe1bc387bd4a0f332">EProtocolState</a> <a class="el" href="classCClientConnection.html#a85938f16682bb7c90e9dd97b8b784ed9">CClientConnection::mProtocolState</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa303d1aa0d31ab325221baae9a4991f2"></a><!-- doxytag: member="CClientConnection::mSync" ref="aa303d1aa0d31ab325221baae9a4991f2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QMutex <a class="el" href="classCClientConnection.html#aa303d1aa0d31ab325221baae9a4991f2">CClientConnection::mSync</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afc24c27b2e4b0bd64bd485c8f1a5df61"></a><!-- doxytag: member="CClientConnection::mTcpSocket" ref="afc24c27b2e4b0bd64bd485c8f1a5df61" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QTcpSocket <a class="el" href="classCClientConnection.html#afc24c27b2e4b0bd64bd485c8f1a5df61">CClientConnection::mTcpSocket</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3c3e7cf59d9680199efda83a58d4a359"></a><!-- doxytag: member="CClientConnection::sMaxNetStringLen" ref="a3c3e7cf59d9680199efda83a58d4a359" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const quint32 <a class="el" href="classCClientConnection.html#a3c3e7cf59d9680199efda83a58d4a359">CClientConnection::sMaxNetStringLen</a><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="client__connection_8h_source.html">client_connection.h</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:41 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
